package com.av.bcacc.javaapi.thread.priority;

import java.util.concurrent.Callable;

public class MyCallable implements Callable<String> {
    @Override
    public String call() throws Exception {
        for (int i = 0; i < 101; i++) {
            System.out.println(Thread.currentThread().getName()+"---"+i);
        }
        return Thread.currentThread().getName()+"----线程执行完毕";
    }
}


